﻿<UserControl x:Class="wpfTool.ShaderWidget"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="200" Width="150" x:Name="widgetRoot"
    Background="AliceBlue" BorderBrush="LightGray" BorderThickness="1">
    <UserControl.BitmapEffect>
        <DropShadowBitmapEffect />
    </UserControl.BitmapEffect>
    <StackPanel>
        <Label x:Name="fileName" Height="25" VerticalContentAlignment="Center" Background="Transparent" BorderBrush="LightGray" BorderThickness="1" />

        <Grid x:Name="portsGrid">
            <Grid.RowDefinitions>
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="30"/>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition Width="30"/>
            </Grid.ColumnDefinitions>

        </Grid>

        <Image x:Name="previewPort" />

        <ProgressBar x:Name="prograssBar" Minimum="0" Maximum="1.0" />
        <Label x:Name="widgetTypeName" Height="20" Background="Green" Padding="2" BorderBrush="Black" BorderThickness="1" Foreground="White">
            Shader
        </Label>
    </StackPanel>
</UserControl>
